package com.zwb.demo.easyweb.core.exception;

import com.zwb.demo.easyweb.common.entity.response.ResultCode;
import lombok.Data;

/**
 * 自定义异常
 *
 * @author zwb
 */
@Data
public class CustomException extends RuntimeException {

    private ResultCode resultCode;

    public CustomException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
